<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>某管理系统</title>
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <!--[if lt IE 9]>
    <script src="../js/html5shiv.min.js"></script>
    <script src="../js/respond.min.js"></script>
    <![endif]-->
    <style>
        body {
            padding-top: 50px;
        }

        .sidebar {
            position: fixed;
            top: 50px;
            bottom: 0;
            left: 0;
            background-color: #ddd;
            border-right: 1px solid #eee;
            padding: 20px;
        }

        .nav-sidebar {
            margin-right: -20px;
            margin-left: -20px;
            margin-bottom: 20px;
        }

        .nav-sidebar li a {
            padding-right: 40px;
            padding-left: 40px;
            font-size: 1.5rem;
        }

        .main .row {
            padding: 20px;
        }
    </style>
</head>
<body>
<!--下面是顶部导航栏的代码-->
<nav class="navbar navbar-fixed-top navbar-inverse">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">某管理系统</a>
        </div>
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li class="active"><a href="#">首页</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false">功能<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li class="dropdown-header">业务功能</li>
                        <li><a href="#">信息建立</a></li>
                        <li><a href="#">信息查询</a></li>
                        <li><a href="#">信息管理</a></li>
                        <li role="separator" class="divider"></li>
                        <li class="dropdown-header">系统功能</li>
                        <li><a href="#">设置</a></li>
                    </ul>
                </li>
                <li><a href="#">帮助</a></li>
            </ul>
            <form class="navbar-form navbar-right">
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="用户名...">
                </div>
                <div class="form-group">
                    <input type="password" class="form-control" placeholder="密码...">
                </div>
                <button type="submit" class="btn btn-primary">登录</button>
            </form>
        </div><!-- /.navbar-collapse -->

    </div><!-- /.container-fluid -->
</nav>

<!--自适应布局-->
<div class="container-fluid">
    <div class="row">
        <!-- 左侧导航栏 -->
        <div class="col-sm-3 col-md-2 sidebar hidden-xs">
            <ul class="nav nav-pills nav-stacked nav-sidebar">
                <li class="active"><a href="#">首页</a></li>
            </ul>
            <ul class="nav nav-pills nav-stacked nav-sidebar">
                <li><a href="#">信息建立</a></li>
                <li><a href="#">信息查询</a></li>
                <li><a href="#">信息管理</a></li>
            </ul>
            <ul class="nav nav-pills nav-stacked nav-sidebar">
                <li><a href="#">设置</a></li>
                <li><a href="#">帮助</a></li>
            </ul>
        </div>
        <!-- 右侧内容 -->
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
            <h1 class="page-header">管理控制台</h1>
            <button class="btn btn-default">操作一</button>
            <button class="btn btn-primary">操作二</button>
            <button class="btn btn-success">操作三</button>
            <button class="btn btn-info">操作四</button>
            <button class="btn btn-warning">操作五</button>
            <button class="btn btn-danger">操作六</button>
            <div class="row">
                <div class="col-md-6">
                    <!--panel面板，里面放置一些控件，下同-->
                    <div class="panel panel-primary">
                        <!--panel面板的标题，下同-->
                        <div class="panel-heading">
                            <h3 class="panel-title">最新提醒</h3>
                        </div>
                        <!--panel面板的内容，下同-->
                        <div class="panel-body">
                            <p class="alert alert-success"><strong>提示</strong>您的订单（2018001）已经审批通过！</p>
                            <p class="alert alert-danger"><strong>提示</strong>您的订单（2014002）被打回！</p>
                            <p class="alert alert-warning"><strong>提示</strong>您的订单（2013001）客户付款延迟！</p>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="panel panel-primary">
                        <div class="panel-heading">
                            <h3 class="panel-title">我的任务</h3>
                        </div>
                        <div class="panel-body">
                            <ul class="nav nav-stacked">
                                <li>
                                    <a href="#" class="alert alert-info">订单审批<span class="badge pull-right">42</span></a>
                                </li>
                                <li>
                                    <a href="#" class="alert alert-info">收款确认<span class="badge pull-right">20</span></a>
                                </li>
                                <li>
                                    <a href="#" class="alert alert-info">付款确认<span class="badge pull-right">10</span></a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <div class="panel panel-primary">
                        <div class="panel-heading">
                            <h3 class="panel-title">最新订单</h3>
                        </div>
                        <div class="panel-body">
                            <table class="table table-striped table-hover">
                                <thead>
                                <tr>
                                    <th>#</th>
                                    <th>产品</th>
                                    <th>数量</th>
                                    <th>总金额</th>
                                    <th>业务员</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>1</td>
                                    <td>Apple Macbook air</td>
                                    <td>10</td>
                                    <td>80000</td>
                                    <td>王小贱</td>
                                </tr>
                                <tr>
                                    <td>2</td>
                                    <td>Apple iPad air</td>
                                    <td>20</td>
                                    <td>65000</td>
                                    <td>尹开花</td>
                                </tr>
                                <tr>
                                    <td>3</td>
                                    <td>Apple Macbook pro</td>
                                    <td>5</td>
                                    <td>50000</td>
                                    <td>刘老根</td>
                                </tr>
                                </tbody>
                            </table>
                            <a href="#" class="btn btn-primary">查看详情&raquo;</a>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="panel panel-primary">
                        <div class="panel-heading">
                            <h3 class="panel-title">工程进度</h3>
                        </div>
                        <div class="panel-body">
                            <h4><span class="label label-primary">水井挖掘工程</span></h4>
                            <div class="progress">
                                <div class="progress-bar progress-bar-striped" style="width: 60%">60%</div>
                            </div>
                            <h4><span class="label label-primary">基建工程</span></h4>
                            <div class="progress">
                                <div class="progress-bar progress-bar-danger" style="width: 80%">80%</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="../js/jquery-3.3.1.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
</body>
</html>